body {
  padding-top: 70px; /* Adjust according to navbar height */
}

/* Custom Styles for NavBar */
.navbar-brand img {
  height: 75px; /* Increase logo height */
  width: auto; /* Maintain aspect ratio */
  transition: height 0.3s; /* Smooth transition */
}

.navbar {
  background: linear-gradient(135deg, #4caf50, #1e88e5);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add shadow */
  padding: 0.5rem 1rem; /* Adjust navbar padding */
}

.navbar-nav .nav-link {
  color: #fff; /* Link color */
  font-weight: 500; /* Medium font weight */
  margin-left: 20px; /* Space between links */
}

.navbar-nav .nav-link:hover {
  color: #ff9900; /* Hover color */
}

.navbar-toggler {
  border: none; /* Remove border */
}

.navbar-toggler:focus {
  box-shadow: none; /* Remove focus outline */
}

/* Ensure navbar height remains consistent */
.navbar-brand {
  display: flex;
  align-items: center;
  height: 60px; /* Match logo height */
}

/* End NavBar */

/* Slider */
.slider-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 55px);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider-image {
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slider-image.active {
  opacity: 1;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay .text {
  color: white;
  font-size: 2rem;
  text-align: center;
}

.overlay .text {
  color: white;
  font-size: 2rem;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); /* Added text shadow for better visibility */
  animation: fadeIn 2s ease-in-out;
}

/* Animation for text */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* End Slider */

/* Section Padding */
section {
  padding: 80px 0;
}

/* About Us Section */
#about-us {
  background: #fff;
}

#about-us h2 {
  font-size: 36px;
  font-weight: bold;
  color: #4caf50;
  margin-bottom: 20px;
}

#about-us p {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Products Section */
#products-overview {
  background: #f8f9fa;
}

#products-overview h2 {
  font-size: 36px;
  font-weight: bold;
  color: #4caf50;
  margin-bottom: 40px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mt-4 {
  display: flex;
  justify-content: space-evenly;

}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card .card-body {
  padding: 20px;
  text-align: center;
}

.product-card h5 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 16px;
  color: #555;
}

/* Sustainability Section */
#sustainability {
  background: #fff;
}

#sustainability h2 {
  font-size: 36px;
  font-weight: bold;
  color: #4caf50;
  margin-bottom: 20px;
}

#sustainability p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

#sustainability ul {
  list-style: none;
  padding: 0;
}

#sustainability ul li {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

#sustainability ul li i {
  color: #4caf50;
  margin-right: 10px;
}

#sustainability img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
  background: #f8f9fa;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  font-size: 40px;
  color: #4caf50;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 16px;
  color: #555;
}

.contact-card a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: #4caf50;
}

/* Footer Styling */
.footer {
  background: linear-gradient(135deg, #4caf50, #1e88e5);
  color: #f8f9fa;
}

.footer-logo {
  width: 200px !important;
}

.footer-statement {
  font-size: 14px;
  color: #ddd;
  margin-top: 10px;
}

.footer h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer ul {
  list-style-type: none;
  padding: 40px 0 0;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: #f8f9fa;
  text-decoration: none;
}

.footer ul li a:hover {
  color: #333 !important;
}

.footer .social-icons {
  padding-top: 40px !important;
}

.footer .social-icons a {
  text-decoration: none;
  color: #f8f9fa;
  font-size: 20px;
}

.footer .social-icons a:hover {
  color: #333 !important;
}

.footer .text-center {
  margin-top: 20px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .slider-container {
    height: 50vh;
  }
}

@media (max-width: 768px) {
  #sustainability h2 {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .social-icons {
    text-align: center;
  }
}
